package com.dog.basics.bean.model.mtkj;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 购物车
 * </p>
 *
 * @author wph
 * @since 2020-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("mt_basket")
public class MtBasket implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商品ID
     */
    @TableField("goods_id")
    private Long goodsId;

    /**
     * SkuID
     */
    @TableField("sku_id")
    private Long skuId;

    /**
     * 商户ID
     */
    @TableField("shop_id")
    private Long shopId;

    /**
     * 用户ID
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 购物车产品个数
     */
    @TableField("basket_count")
    private Integer basketCount;

    /**
     * 购物时间
     */
    @TableField("basket_date")
    private Long basketDate;

    /**
     * 创建者
     */
    @TableField("create_by")
    private Long createBy;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Long createTime;

    /**
     * 更新人
     */
    @TableField("update_by")
    private Long updateBy;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private Long updateTime;


}
